package xin.yangshuai.mybatisgeneratorweb.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * HelloController
 *
 * @author shuai
 * @date 2021/8/16
 */
@RestController
public class HelloController {

    @Value("${aa.bb}")
    private String sign;

    @RequestMapping("hello")
    public String hello() {
        return sign;
    }
}
